﻿<%@ Page Language="C#" MasterPageFile="~/Master/home.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="movie_index" Title="" %>
<%@ MasterType VirtualPath="~/Master/home.master" %>
<%@ Register src="~/UserControls/MovieMenuControl.ascx" tagname="MovieMenuControl" tagprefix="ucMenu" %>
<%@ Register src="~/UserControls/MovieRecommendControl.ascx" tagname="MovieRecommendControl" tagprefix="ucRecommend" %>

<asp:Content ID="headMovie" ContentPlaceHolderID="headMaster" Runat="Server">
</asp:Content>
<asp:Content ID="contentMovie" ContentPlaceHolderID="contentMaster" Runat="Server">
    <ucMenu:MovieMenuControl ID="movieMenu" runat="server" />
    
    <div class="movieBody">
        <div class="movieLeft">
            <%= MovieListHtml %>
            <%--<ul class="movieUL">
                <asp:Repeater ID="rptMovie" runat="server">
                    <ItemTemplate>
                    <li> 
                        <div class="movieImgAlign">                 
                            <a href="moviedetail.aspx?id=<%# Eval("id") %>" title="<%# Eval("title") %>" target="_blank">
                                <img src="<%# Eval("img") %>" alt="<%# Eval("title") %>" onload="resizeMovieImg(this, 130, 160);" />
                            </a>
                        </div>
                        <dl>
                            <dt>
                                <a href="moviedetail.aspx?id=<%# Eval("id") %>" title="<%# Eval("title") %>" target="_blank"><%# Eval("title") %></a>
                            </dt>
                            <dd>演员：<%# Eval("actor") %></dd>
                            <dd>导演：<%# Eval("director") %></dd>
                            <dd>上映年份：<%# Eval("year") %></dd>
                            <dd>地区：<%# Eval("area") %></dd>
                        </dl>                        
                    </li>
                    </ItemTemplate>
                </asp:Repeater>
             </ul> --%>           
        </div>
        
        <div class="movieRight">
            <ucRecommend:MovieRecommendControl ID="movieRecommend" runat="server" />
        </div>
    </div>
</asp:Content>

